inherited frmCon_CEP: TfrmCon_CEP
  Left = 8
  Top = 67
  Caption = 'Consulta de CEPs'
  ClientHeight = 449
  ClientWidth = 781
  OldCreateOrder = True
  OnActivate = FormActivate
  OnClose = FormClose
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 13
  inherited GB: TGroupBox
    Width = 781
    Height = 133
    object Label1: TLabel
      Left = 10
      Top = 84
      Width = 52
      Height = 14
      Caption = 'Endere'#231'o'
    end
    object dbLokpCid: TDBLookupComboBox
      Left = 9
      Top = 59
      Width = 239
      Height = 22
      ListSource = dtsrc1
      TabOrder = 2
      OnClick = dbLokpUFClick
      OnExit = dbLokpUFClick
    end
    object rgLogr: TRadioGroup
      Left = 252
      Top = 16
      Width = 261
      Height = 65
      Caption = 'Logradouro'
      Columns = 3
      ItemIndex = 4
      Items.Strings = (
        'Avenida '
        'Rua     '
        'Estrada '
        'Travessa'
        'Todos')
      TabOrder = 3
      OnClick = rgLogrClick
      OnExit = rgLogrClick
    end
    object rgTipo: TRadioGroup
      Left = 9
      Top = 16
      Width = 240
      Height = 40
      Caption = 'Pesquisar por:'
      Columns = 3
      ItemIndex = 0
      Items.Strings = (
        'Todos'
        'UF'
        'Cidade')
      TabOrder = 0
      OnClick = rgTipoClick
      OnExit = rgTipoExit
    end
    object dbLokpUF: TDBLookupComboBox
      Left = 9
      Top = 59
      Width = 239
      Height = 22
      BevelInner = bvNone
      BevelOuter = bvNone
      BevelKind = bkFlat
      ListSource = dtsrc
      TabOrder = 1
      OnClick = dbLokpUFClick
      OnExit = dbLokpUFClick
    end
    object edEnd: TEdit
      Left = 8
      Top = 100
      Width = 505
      Height = 22
      BevelKind = bkFlat
      BorderStyle = bsNone
      CharCase = ecUpperCase
      TabOrder = 4
      OnKeyDown = edEndKeyDown
    end
    object GroupBox1: TGroupBox
      Left = 518
      Top = 16
      Width = 255
      Height = 107
      TabOrder = 5
      object DBText1: TDBText
        Left = 52
        Top = 10
        Width = 119
        Height = 33
        Alignment = taCenter
        AutoSize = True
        DataField = 'CEP_CODIGO'
        DataSource = ds
        Font.Charset = ANSI_CHARSET
        Font.Color = clBlue
        Font.Height = -29
        Font.Name = 'Courier New'
        Font.Style = [fsBold]
        ParentFont = False
        Transparent = True
      end
      object Label2: TLabel
        Left = 6
        Top = 8
        Width = 21
        Height = 14
        Caption = 'CEP'
        Font.Charset = ANSI_CHARSET
        Font.Color = clWindowText
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = [fsBold, fsUnderline]
        ParentFont = False
      end
      object DBText2: TDBText
        Left = 6
        Top = 55
        Width = 70
        Height = 18
        AutoSize = True
        DataField = 'Logradouro'
        DataSource = ds
        Font.Charset = ANSI_CHARSET
        Font.Color = clMaroon
        Font.Height = -16
        Font.Name = 'Courier New'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object Label3: TLabel
        Left = 6
        Top = 43
        Width = 65
        Height = 14
        Caption = 'Logradouro'
        Font.Charset = ANSI_CHARSET
        Font.Color = clWindowText
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object Bevel1: TBevel
        Left = 0
        Top = 41
        Width = 253
        Height = 2
      end
      object Bevel2: TBevel
        Left = 0
        Top = 72
        Width = 253
        Height = 2
      end
      object DBText3: TDBText
        Left = 7
        Top = 87
        Width = 56
        Height = 16
        AutoSize = True
        DataField = 'COMPLEMENTO'
        DataSource = ds
        Font.Charset = ANSI_CHARSET
        Font.Color = clMaroon
        Font.Height = -13
        Font.Name = 'Courier New'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object Label4: TLabel
        Left = 7
        Top = 75
        Width = 79
        Height = 14
        Caption = 'Complemento'
        Font.Charset = ANSI_CHARSET
        Font.Color = clWindowText
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
    end
  end
  inherited Panel1: TPanel
    Top = 401
    Width = 781
    inherited BtnFechar: TBitBtn
      Left = 332
    end
    inherited BtnFechar1: TFlatButton
      Left = 318
    end
  end
  inherited Panel2: TPanel
    Top = 133
    Width = 781
    Height = 268
    object DBGrid1: TDBGrid
      Left = 1
      Top = 1
      Width = 779
      Height = 266
      Align = alClient
      DataSource = ds
      FixedColor = 14081504
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -11
      Font.Name = 'Arial'
      Font.Style = [fsBold]
      Options = [dgTitles, dgIndicator, dgColumnResize, dgRowLines, dgTabs, dgRowSelect, dgAlwaysShowSelection, dgConfirmDelete, dgCancelOnExit]
      ParentFont = False
      TabOrder = 0
      TitleFont.Charset = ANSI_CHARSET
      TitleFont.Color = clWindowText
      TitleFont.Height = -11
      TitleFont.Name = 'Arial'
      TitleFont.Style = [fsBold]
      OnDblClick = BtnFecharClick
      Columns = <
        item
          Alignment = taCenter
          Expanded = False
          FieldName = 'UF'
          Title.Alignment = taCenter
          Width = 25
          Visible = True
        end
        item
          Color = 16056319
          Expanded = False
          FieldName = 'CID_NOME'
          Title.Caption = 'Cidade'
          Width = 197
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'ENDERECO'
          Title.Caption = 'Endere'#231'o'
          Width = 280
          Visible = True
        end
        item
          Color = 16056319
          Expanded = False
          FieldName = 'BAIRRO'
          Title.Caption = 'Bairro'
          Width = 236
          Visible = True
        end>
    end
  end
  object qry: TQuery
    Left = 440
    Top = 65532
  end
  object dtsrc: TDataSource
    DataSet = qry
    Left = 468
    Top = 65532
  end
  object tq: TQuery
    DatabaseName = 'industrial'
    SQL.Strings = (
      'select * from cep')
    Left = 4
    Top = 357
    object tqCEP_CODIGO: TStringField
      FieldName = 'CEP_CODIGO'
      Origin = 'INDUSTRIAL.CEP.CEP_CODIGO'
      EditMask = '!99.999-999;0;_'
      Size = 8
    end
    object tqLOGRADOURO: TStringField
      FieldName = 'LOGRADOURO'
      Origin = 'INDUSTRIAL.CEP.LOGRADOURO'
    end
    object tqUF: TStringField
      FieldName = 'UF'
      Origin = 'INDUSTRIAL.CEP.UF'
      Size = 2
    end
    object tqCID_NOME: TStringField
      FieldName = 'CID_NOME'
      Origin = 'INDUSTRIAL.CEP.CID_NOME'
      Size = 25
    end
    object tqENDERECO: TStringField
      FieldName = 'ENDERECO'
      Origin = 'INDUSTRIAL.CEP.ENDERECO'
      Size = 50
    end
    object tqBAIRRO: TStringField
      FieldName = 'BAIRRO'
      Origin = 'INDUSTRIAL.CEP.BAIRRO'
      Size = 50
    end
    object tqCOMPLEMENTO: TStringField
      FieldName = 'COMPLEMENTO'
      Origin = 'INDUSTRIAL.CEP.COMPLEMENTO'
      Size = 50
    end
  end
  object ds: TDataSource
    DataSet = tq
    Left = 32
    Top = 357
  end
  object qry1: TQuery
    Left = 380
    Top = 65532
  end
  object dtsrc1: TDataSource
    DataSet = qry1
    Left = 408
    Top = 65532
  end
end
